package com.googlecode.utils
{
	import mx.formatters.DateFormatter;
	
	public class UniqueID extends DateFormatter
	{
		private static var _count:int = 0;
		
		public function UniqueID() 
		{
			formatString = "YYMMDDHNS"		
		}
		
		public function generateID():String
		{		
			return format(new Date()) + String(_count++)

		}

	}
}